<div class="row">
    <div class="col-lg-12">
        
        <div class="panel panel-default kotakwidget">
			<div class="panel-heading kepalakotakwidget">
				Pilih Jenjang Sebelum Menambah Data Master Tholabah
			</div>
				
            <div class="panel-body">
				<div class="row">
					<div class="col-md-12">
						<table class="table table-condensed">
						  <thead>
							<tr>
								<th>#</th>
								<th>Jenjang</th>
								<th></th>
							</tr>
						  </thead>
						  <tbody>
							<?php 
								if(count($list)>0){
									$i = 1; 
									foreach ($list as $row) {
							?>
							<tr class="hover kursor">
								<td width="30"><?php echo $i++ ?></td>
								<td><?php echo $row->j_pendidikan;?></td> 
								<td class="text-right">											
									<a href="<?php echo site_url('m_tholabah/tholabah/'.$row->id_m_j_pendidikan);?>" class="editorLink" ><span class="glyphicon glyphicon-chevron-right"></span></a>
								</td>
							</tr>
							<?php
									}
								}else{
							?>
							<tr>
								<td colspan="3"><center>Belum ada data master Jenjang Pendidikan</center></td>
							</tr>
							<?php
								}
							?>
						  </tbody>
						</table>
					</div>
				</div>
            </div>

        </div>

	</div>
</div>
<!-- /#page-wrapper -->
<script>
$("tr").click(function() {
  window.location.href = $(this).find("a").attr("href");
});
</script>